package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物业主体信息对象 property_company
 * 
 * @author ruoyi
 * @date 2025-10-27
 */
public class PropertyCompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物业ID */
    private Long companyId;

    /** 物业名称 */
    @Excel(name = "物业名称")
    private String companyName;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 资质证件路径 */
    @Excel(name = "资质证件路径")
    private String qualification;

    /** 合作单位（JSON格式） */
    @Excel(name = "合作单位", readConverterExp = "J=SON格式")
    private String cooperationUnits;

    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }

    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }

    public void setQualification(String qualification) 
    {
        this.qualification = qualification;
    }

    public String getQualification() 
    {
        return qualification;
    }

    public void setCooperationUnits(String cooperationUnits) 
    {
        this.cooperationUnits = cooperationUnits;
    }

    public String getCooperationUnits() 
    {
        return cooperationUnits;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("address", getAddress())
            .append("contactPhone", getContactPhone())
            .append("qualification", getQualification())
            .append("cooperationUnits", getCooperationUnits())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
